package com.ruoyi.prod.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.prod.entity.po.BaseEntity;
import java.io.Serializable;

import com.ruoyi.prod.enums.UseTargetEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 使用管理-使用申请-条目明细
 * </p>
 *
 * @author 强子初
 * @since 2023-02-25
 */
@Getter
@Setter
@TableName("prod_use_apply_item")
@ApiModel(value = "使用申请条目对象", description = "使用管理-使用申请-条目明细")
public class ProdUseApplyItem extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty("资产id")
    @TableField("asset_id")
    private String assetId;

    @ApiModelProperty("使用申请单号")
    @TableField("apply_odd")
    private String applyOdd;

    @ApiModelProperty("使用申请id")
    @TableField("apply_id")
    private String applyId;

    @ApiModelProperty("资产名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("资产类别名称")
    @TableField("asset_type_name")
    private String assetTypeName;

    @ApiModelProperty("规格型号")
    @TableField("model")
    private String model;

    @ApiModelProperty("使用对象;1-部门;2-个人;")
    @TableField("use_target")
    private UseTargetEnum useTarget;

    @ApiModelProperty("存放地点")
    @TableField("place")
    private String place;

    @ApiModelProperty("使用状态")
    @TableField("use_state")
    private String useState;
}
